<template>
  <div class="limitsAuth">
    <div class="limitBox">
      <img src="../../../assets/img/limitsAuth.png" alt="">
      <p v-if="message!==undefined">{{message}}</p>
      <p v-if="message===undefined">{{msg}}</p>
    </div>
  </div>
</template>

<script>
    export default {
        name: "limitsAuth",
        data() {
            return {
                message: this.$route.query.message,
                msg: '您的权限不足......',
            }
        },
        mounted() {
            console.log(this.message);
        }
    }
</script>

<style scoped lang="scss">
  .limitsAuth{
    padding: 90px 0;
    .limitBox{
      width: 200px;
      margin: auto;
      text-align: center;
      img{
        width: 140px;
        margin-bottom: 10px;
      }
      p{
        color: #999;
        font-size: 14px;
      }
    }
  }
</style>

<!-- 使用方式 -->
<!-- 1. 路由跳转  ( 路由跳转地址 path: '/limits-auth',query: { message: '传入数据' } ) -->